/**
 *  @file fileNotFoundException.h
 *
 *  @date 3-dec-2009
 *  @author Ives van der Flaas
 */

#ifndef FILENOTFOUNDEXCEPTION_H_
#define FILENOTFOUNDEXCEPTION_H_

#include <exception>
#include <string>

namespace si
{
/**
 * Will be thrown when a certain file should be found but is not.
 */
class FileNotFoundException: public std::exception
{
public:
	/**
	 * Ctor
	 * @param filename Filename of the file that isn't found.
	 * @return
	 */
	FileNotFoundException(std::string filename);
	virtual ~FileNotFoundException() throw();

	virtual const char* what() const throw();
private:
	std::string fFilename;
};

}

#endif /* FILENOTFOUNDEXCEPTION_H_ */
